-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BnB: Add ability to specify integers #17
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the huge delay in reviewing this! Thanks for putting it together!
Thanks for the review! And no worries about the delay. I'll try to add more to this PR whenever I have the time. |
The |
I renamed |
It's not a rewrite but I did add |
@henryrobbins Thanks for your response in #16. Here is what had put together, though I don't have a quick example to test (beyond the included tests).
I'm still not sure about what is happening in
visualize.py
, but I may take a look at it later. Meanwhile, I'd appreciate your comments on this.One question about the slack variables: In the original code is it correct to do
if np.sum(frac_comp) > 0:
once slack variables are added? Could this not lead to a case where you are branching on a slack variable, which is not necessarily correct?Todo:
LP
to support specifyingintegrality
simplex
andbranch_and_bound
to supportintegrality
bnb_visual